<!DOCTYPE html>
<html>
<head>
	<title>赔率设置-赔率盘差</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/css/font-awesome.css" rel="stylesheet">
    <link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__STATIC__/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
	<style type="text/css">
	.memu>span>a{
			color: yellow;
		}
	.middle-line1-content{
	        	width: 99%;
		background-color: rgba(182, 171, 171, 0.56);
		font-size: 12px;
		border: 1px solid rgba(128, 128, 128, 0.72);
		border-radius: 5px;
		margin: 0 auto;
		}
	.middle-line1-content>div{
		margin-top: 3px;
		padding: 3px 0;
		}

	.plate{
		float: left;
		width: 10%;
		color: black;
		text-align: center;
	}
	
	.hangkong{
		float: left;
		width: 80%;
	}

	.hangkong>span>a{
		padding: 0 2px;
		color: red;
	}

	.issue{
		float: left;
		width: 10%;
		color: black;
	}

	.open{
		width: 100%;
    		padding: 5px 10px;
	}

	.open-one{
		width: 34.8%;
		float: left;
		height: 350px;
	}

	.open-name>th{
		background: rgb(224,139,46);
		color: white;
		padding: 2px;
		text-align: center;
		border: 2px solid silver;
		font-size: 12px;
	}

	.open-thing>td{
		background: rgb(240,240,240);
		color: black;
		text-align: center;
		border: 2px solid silver;
		font-size: 13px;
	}

	.open-thing>td:last-child{
		font-size: 12px;
		color: black;
	}


	.open-thing>td>input{
		    width: 45px;
		    font-size: 12px;
		    border-radius: 3px;
		    border: 1px solid gray;
		    text-align: center;
	}

	.redorblue{
		text-align: center;
    		padding: 10px 0;
    		border: 1px solid gray;
	}

	.sendout>button{
		font-size: 12px;
    		border: 1px solid gray;
    		border-radius: 3px;
    		color: black;
	}

	.sendup{
		margin-left: 30px;
	}

	.sendup>button{
		border: 1px solid gray;
    		border-radius: 3px;
    		color: black;
	}

	.open-other{
		padding: 0 10px;
	}

	.open-other>table>tbody>tr>td{
		text-align: center;
		background: rgb(240,240,240);
		color: red;
		font-weight: bold;
	}

	.open-button{
		padding: 10px 0;
    		border: 1px solid gray;
    		text-align: center;
	}

	.open-button>button:first-child{
		border: 1px solid gray;
    		border-radius: 3px;
    		color: black;
    		font-size: 13px;
    		margin-right: 10px;
	}

	.open-button>button:last-child{
		border: 1px solid rgb(33, 150, 243);
    		border-radius: 3px;
    		color: black;
    		font-size: 12px;
	}

	.open-two{
		width: 30%;
		float: left;
		height: 431px;
		margin-left: 0.2%;
	}


	</style>
</head>
<body>
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;"></div>

		<div style="position: relative;width: 80%;float: right;">
			<div class="arrow-left"></div>
			<div class="memus" style="height: 30px;">
				<div class="bevel"></div>
				<div style="clear: both;"></div>
		{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
			</div>
			<div style="clear: both;"></div>
		

		<div>
			<div class="arrow-right"></div>
			<div class="memu1">
				<div class="lun"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
	</div>
	<div style="clear: both;"></div>
		</div>

		<div class="middle">
			<div class="middle-line1-content">
				<div class="plate">赔率设置</div>
				<div class="hangkong">
					<select>
						<option>赔率调节</option>
						<option>默认赔率</option>
					</select>
					<span><a href="{:url('admin/home/oddstema')}">特码</a></span>
					<span><a href="{:url('admin/home/oddszhengma')}">正码</a></span>
					<span><a href="{:url('admin/home/oddszmte')}">正码特</a></span>
					<span><a href="{:url('admin/home/oddspass')}">正码1-6/过关</a></span>
					<span><a href="{:url('admin/home/oddsselert')}">正码多选项</a></span>
					<span><a href="{:url('admin/home/oddswave')}">生肖半波头尾数</a></span>
					<span><a href="{:url('admin/home/oddsseven')}">正总一肖正特尾数七色波</a></span>
					<span><a href="{:url('admin/home/oddsmiss')}">不中/多中/连码</a></span>
					<span><a href="{:url('admin/home/oddsmantissa')}">尾数连七码</a></span>
					<!-- <span><a href="{:url('admin/home/oddssurrender')}">自动降赔率</a></span> -->
					<span><a href="{:url('admin/home/oddspoor')}">赔率盘差</a></span>
				</div>
				<div class="issue">
					恢复默认赔率
				</div>
				<div style="clear: both;"></div>
			</div>
			


			<div class="middle-form-content">
				<form action="" method="post"  class="form-size">
					<div class="open">
						<div class="open-one" style="width: 28%;margin-left: 15%;height: 100%;">
							<table style="width: 100%;height: 100%">
								<tbody>
									<tr class="open-name">
										<th>类型</th>
										<th>B盘</th>
										<th>C盘</th>
										<th>D盘</th>
									</tr>
									<tr class="open-thing">
										<td><b id="1">特码A</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="1"}
										<td><input type="text" name="num1"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num1"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num1"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="2">特码单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="2"}
										<td><input type="text" name="num2"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num2"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num2"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="3">特码大小</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="3"}
										<td><input type="text" name="num3"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num3"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num3"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="4">特码合码单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="4"}
										<td><input type="text" name="num4"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num4"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num4"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="5">正码</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="5"}
										<td><input type="text" name="num5"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num5"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num5"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="6">总和单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="6"}
										<td><input type="text" name="num6"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num6"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num6"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="7">总和大小</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="7"}
										<td><input type="text" name="num7"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num7"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num7"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="8">特码色波</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="8"}
										<td><input type="text" name="num8"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num8"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num8"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="9">特码生肖</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="9"}
										<td><input type="text" name="num9"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num9"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num9"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="10">正码1-6单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="10"}
										<td><input type="text" name="num10"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num10"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num10"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="11">正码1-6大小</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="11"}
										<td><input type="text" name="num11"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num11"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num11"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="12">正码1-6色波</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="12"}
										<td><input type="text" name="num12"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num12"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num12"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}

									</tr>

									<tr class="open-thing">
										<td><b id="13">正码1-6合单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="13"}
										<td><input type="text" name="num13"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num13"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num13"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="14">半波</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="14"}
										<td><input type="text" name="num14"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num14"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num14"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="15">多肖</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="15"}
										<td><input type="text" name="num15"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num15"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num15"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}>
									</tr>

									<tr class="open-thing">
										<td><b id="16">一肖[中]</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="16"}
										<td><input type="text" name="num16"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num16"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num16"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="17">尾数</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="17"}
										<td><input type="text" name="num17"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num17"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num17"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="18">三全中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="18"}
										<td><input type="text" name="num18"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num18"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num18"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="19">三中二</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="19"}
										<td><input type="text" name="num19"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num19"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num19"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="20">二全中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="20"}
										<td><input type="text" name="num20"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num20"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num20"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="21">二中特</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="21"}
										<td><input type="text" name="num21"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num21"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num21"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="22">特串</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="22"}
										<td><input type="text" name="num22"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num22"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num22"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="23">七色波</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="23"}
										<td><input type="text" name="num23"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num23"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num23"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="24">正码特</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="24"}
										<td><input type="text" name="num24"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num24"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num24"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="25">特码合数大小</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="25"}
										<td><input type="text" name="num25"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num25"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num25"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="26">特码合数单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="26"}
										<td><input type="text" name="num26"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num26"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num26"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="27">特码半特</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="27"}
										<td><input type="text" name="num27"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num27"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num27"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="28">特码头数</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="28"}
										<td><input type="text" name="num28"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num28"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num28"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="29">特码尾数</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="29"}
										<td><input type="text" name="num29"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num29"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num29"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="30">总肖</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="30"}
										<td><input type="text" name="num30"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num30"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num30"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="31">总肖单双</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="31"}
										<td><input type="text" name="num31"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num31"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num31"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="32">正肖</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="32"}
										<td><input type="text" name="num32"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num32"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num32"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="33">连肖</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="33"}
										<td><input type="text" name="num33"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num33"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num33"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="34">正码过关</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="34"}
										<td><input type="text" name="num34"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num34"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num34"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="35">5不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="35"}
										<td><input type="text" name="num35"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num35"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num35"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="36">6不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="36"}
										<td><input type="text" name="num36"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num36"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num36"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="37">7不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="37"}
										<td><input type="text" name="num37"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num37"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num37"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="38">8不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="38"}
										<td><input type="text" name="num38"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num38"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num38"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="39">9不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="39"}
										<td><input type="text" name="num39"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num39"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num39"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="40">10不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="40"}
										<td><input type="text" name="num40"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num40"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num40"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="41">11不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="41"}
										<td><input type="text" name="num41"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num41"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num41"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="42">12不中</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="42"}
										<td><input type="text" name="num42"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num42"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num42"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="43">3中一</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="43"}
										<td><input type="text" name="num43"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num43"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num43"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="44">4中一</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="44"}
										<td><input type="text" name="num44"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num44"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num44"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="45">5中一</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="45"}
										<td><input type="text" name="num45"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num45"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num45"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="46">6中一</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="46"}
										<td><input type="text" name="num46"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num46"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num46"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="47">一肖[不中]</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="47"}
										<td><input type="text" name="num47"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num47"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num47"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="48">尾数连</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="48"}
										<td><input type="text" name="num48"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num48"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num48"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

									<tr class="open-thing">
										<td><b id="49">七码</b></td>
										{foreach $res as $r}
										{eq name="$r.id" value="49"}
										<td><input type="text" name="num49"  style="width: 40px;text-align: left;" placeholder="{$r.andicapB}"></td>
										<td><input type="text" name="num49"  style="width: 40px;text-align: left;" placeholder="{$r.andicapC}"></td>
										<td><input type="text" name="num49"  style="width: 40px;text-align: left;" placeholder="{$r.andicapD}"></td>
										{/eq}
										{/foreach}
									</tr>

								</tbody>
							</table>
							<div class="open-button">
								<span onclick="queding();" style="cursor:pointer;border: 1px solid gray;border-radius: 3px;color: black;padding: 3px;background-color: rgba(128, 128, 128, 0.27);">修改</span>
							</div>
						</div>
					
                			</form>
			</div>
		</div>
	</div>
	<!-- 全局js -->
    <script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<!-- 自定义JS -->
	<script src="__STATIC__/js/admin/controtiren.js"></script>
    <script type="text/javascript">
    	//公告轮播.html
    		$(function(){
    			localStorage.clear();
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,60)
		})

    		function queding(){
    			var items = [];
    			var storage=window.localStorage;
	    		for(var i = 1 ;i<=49;i++){
	    			$("input[name=num"+i+"]").each(function(index,item){
	    			// var a = $(this).parent().prev().find("b").attr("id");
	    			var x = index+1;
	    			var n = item.value;
	    			if(item.value!=0){
					        if(x==1){
	    						var andicapB = n;
		    				}
		    				if(x==2){
		    					var andicapC = n;
		    				}
		    				if(x==3){
		    					var andicapD = n;
		    				}
	    				 var data = {
	    				 		"id":i,
					         	'andicapB':andicapB,
					         	'andicapC':andicapC,
					         	'andicapD':andicapD
					         }  
					         items.push(data);
					         items = JSON.stringify(items);
					         storage.setItem("items",items);
					         items = JSON.parse(storage.getItem("items"));

					}
	    		})
	    		}
	    		 var dats = storage.getItem("items");
	        	 $.post('{:url("admin/Interfaces/setpancha")}',{data:dats},function(res){
	        	 	console.log(res)
	        	 	if(res==1){
	        	 		localStorage.clear();
	        	 		alert('设置赔率成功');
	        	 		document.location.reload();
	        	 	}else{
	        	 		alert('设置赔率失败');
	        	 		document.location.reload();
	        	 	}
	        	 })
    			
    		}
    </script>


</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>